projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a97ea17
)
Broadway: Fix handling of debug nodes
author
Alexander Larsson
<alexl@redhat.com>
Wed, 26 Aug 2020 12:01:00 +0000
(14:01 +0200)
committer
Ahmed Eldemery
<aeldemery.de@gmail.com>
Fri, 28 Aug 2020 16:45:01 +0000
(18:45 +0200)
The debug nodes have id BROADWAY_NODE_DEBUG, which happens to be "12".
So, don't hardcode the wrong number "14".
gdk/broadway/broadway.js
patch
|
blob
|
history
diff --git
a/gdk/broadway/broadway.js
b/gdk/broadway/broadway.js
index dcbe42f8d15f9b2b4b629bfc90d5a1bd54d26b57..3dc6b7d9148b83524555288f85f50c1b01b34bac 100644
(file)
--- a/
gdk/broadway/broadway.js
+++ b/
gdk/broadway/broadway.js
@@
-809,7
+809,7
@@
TransformNodes.prototype.insertNode = function(parent, previousSibling, is_tople
}
break;
- case
14: // DEBUG
+ case
BROADWAY_NODE_DEBUG:
{
var str = this.decode_string();
var div = this.createDiv(id);